<div class="bh-content">
    <div class="bh-ly-yw-center-jiudian bh-padT10">
    <?php $this->renderPartial('application.views.partials.crumbs')?>
    <div class="bh-ly-yw-center-jiudian-chengshi bh-padL10 bh-Border_2">
    	<?php $form = $this->beginWidget('lib.widgets.CActiveFormAdv',array(
    		'method' => 'get',
    		'action' => Yii::app()->controller->createUrl('list')
    	))?>
    	城&nbsp;&nbsp;市：
    	<?php echo $form->dropDownList($model,'province',Yii::app()->enum->options('district.province'),array('class'=>'bh-ly-yw-biao'))?>
    	<span>星 &nbsp;&nbsp;级</span>：<?php echo $form->dropDownList($model,'star',Yii::app()->enum->options("basic.hotelStar"),array('class'=>'bh-ly-yw-biao'))?>
<!--    	<span>退房日期</span>：<input type="text" class="bh-ly-yw-biao"/>-->
    	<span>酒店名称</span>：<?php echo $form->textField($model,'name', array('class'=>'bh-ly-yw-biao','init-value'=>'输入酒店的名称','id'=>'hotel-name'))?>
    	<input type="submit" value="搜索" class="bh-ly-yw-center-jjingqu-sub"/>
    	<?php $this->endWidget();?>
        <script type="text/javascript">bindTextInit($("#hotel-name"),$('#<?php echo $form->id?>'))</script>
    </div>
    <div class="bh-ly-yw-center-jiudian-xia">
        <?php echo $this->renderPartial('application.views.partials.hotel.list',array('data'=>$data))?>
            <!-- 畅玩精选 -->
            <?php $this->widget('lib.ext.data.DataWidget',array(
                'model' => 'CompanyHotel',
                'criteria' => array(
                    'order' => 'id desc',
                    'limit' => '5',
                ),
                'view' => 'application.views.partials.hotel.play_selection'
            ))?>
            <div class="bh-space"></div>
        </div>
    </div>
</div>